package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;
import com.itheima.pojo.Setmeal;
import com.itheima.pojo.Usermanage;

import java.util.List;

public interface MemberService {

    /**
     * 会员信息分页查询
     * @param queryPageBean
     * @return
     */
    PageResult pageQuery(QueryPageBean queryPageBean);

    /**
     * 新增会员信息
     * @param member
     */
    public void add(Member member);

    /**
     * 编辑会员信息
     * @param member
     */
    public void edit(Member member);

    /**
     * 删除会员信息
     * @param id
     */
    public void deleteById(Integer id);


    Usermanage findById(Integer valueOf);

    List<String> findAddress(Integer memberId);

    List<Setmeal> findSetmealNameByMemberId(Integer memberId);
}
